import java.io.FileWriter;
import java.io.IOException;

public class Writer_test {
    public static void main(String[] args) throws IOException {
        FileWriter fileWriter = new FileWriter("D:\\Test\\outputStream.txt");
        fileWriter.write("a");
        fileWriter.flush();
        fileWriter.close();
    }
}
